package com.tentact.service;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tentact.mapper.PageUtil;
import com.tentact.vo.Meeting;

public interface MeetingService {

	int insert(Meeting meeting);

	int update(Meeting meeting);

	int delete(Meeting meeting);

	int insertSelective(Meeting meeting, Integer[] employeeids);

	int updateSelective(Meeting meeting);

	Meeting selectByPrimaryKey(Integer meetingid);

	// 搜索会议数量
	int selectMeetingCountPage(Meeting meeting, Date reservationtime, Date begintime);

	// 搜索会议
	List<Meeting> selectMeetingPage(Meeting meeting, Date reservationtime, Date begintime, PageUtil page);
	
	Meeting selectByMeetingId(Integer meetingid);
	
	List<Meeting> selectByReservationistId(Integer reservationistId);

}
